<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get current page mode</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harudoc.getpagelayout.html">HaruDoc::getPageLayout</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.getstreamsize.html">HaruDoc::getStreamSize</a></div>
 <div class="up"><a href="class.harudoc.html">HaruDoc</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="harudoc.getpagemode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">HaruDoc::getPageMode</h1>
  <p class="verinfo">(PECL haru &gt;= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruDoc::getPageMode</span> &mdash; <span class="dc-title">Get current page mode</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-harudoc.getpagemode-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>HaruDoc::getPageMode</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Get the current page mode. 
   See <span class="methodname"><a href="harudoc.setpagemode.html" class="methodname">HaruDoc::setPageMode()</a></span>
   for the list of possible values.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-harudoc.getpagemode-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-harudoc.getpagemode-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the page mode currently set in the document.
   See <span class="methodname"><a href="harudoc.setpagemode.html" class="methodname">HaruDoc::setPageMode()</a></span> for the list of possible values.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-harudoc.getpagemode-errors">
  <h3 class="title">错误／异常</h3>
  <p class="para">发生错误时抛出 <a href="class.haruexception.html" class="classname">HaruException</a> 异常。</p>
 </div>


 <div class="refsect1 seealso" id="refsect1-harudoc.getpagemode-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="harudoc.setpagemode.html" class="methodname" rel="rdfs-seeAlso">HaruDoc::setPageMode()</a> - Set how the document should be displayed</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harudoc.getpagelayout.html">HaruDoc::getPageLayout</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harudoc.getstreamsize.html">HaruDoc::getStreamSize</a></div>
 <div class="up"><a href="class.harudoc.html">HaruDoc</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
